#define _CRT_SECURE_NO_WARNINGS 1
//#include<iostream>
//using namespace std;
//
//class Point 
//{ 
//public: 
//    int x, y; 
//    Point(); 
//    Point(Point& p) { x = p.x; y = p.y; cout << "Function #0 is called!" << endl; } 
//    Point(int xx, int yy); 
//    void Show(); 
//}; 
//
//class Circle :public Point 
//{ 
//private: 
//int radius; 
//public: 
//    Circle(); 
//    Circle(int x, int y); 
//    Circle(int x, int y, int r); 
//    Circle(Point& p, int r); 
//    Circle(int r); 
//    Circle(Point& p); 
//    void Show(); 
//};
//
//Point::Point() 
//{ 
//    x = 19; 
//    y = 210; 
//    cout << "Function #1 is called!" << endl; 
//} 
//Point::Point(int xx, int yy) 
//{  x = xx; 
//   y = yy; 
//   cout << "Function #2 is called!" << endl; 
//} 
//void Point::Show() 
//{ 
//    cout << '(' << x << ',' << y << ')' << endl; 
//    cout << "Function #3 is called!" << endl; 
//} 
//
//Circle::Circle() :Point() 
//{ 
//    radius = 135; 
//    cout << "Function #4 is called!" << endl; 
//} 
//Circle::Circle(int x, int y) :Point(x, y) 
//{ 
//    radius = 777; 
//    cout << "Function #5 is called!" << endl; 
//} 
//Circle::Circle(int x, int y, int r) :Point(x, y) 
//{ 
//    radius = r; 
//    cout << "Function #6 is called!" << endl; 
//} 
//Circle::Circle(Point& p, int r) :Point(p) 
//{ 
//    radius = r; 
//    cout << "Function #7 is called!" << endl; 
//} 
//Circle::Circle(Point& p) :Point(p) 
//{ 
//    radius = 111; 
//    cout << "Function #8 is called!" << endl; 
//} 
//Circle::Circle(int r) :Point(5, 20) 
//{ 
//    radius = r; 
//    cout << "Function #9 is called!" << endl; 
//} 
//void Circle::Show() 
//{ 
//    cout << "Radius=" << radius << ',' << "Center="; Point::Show(); 
//    cout << "Function #10 is called!" << endl; 
//}
//
//int main()
//{
//    int x, y, r;
//    cin >> x >> y >> r;
//    Point p0;
//    cout << "[Point #0] "; p0.Show();
//    Circle c0;
//    cout << "[Circle #0]";  c0.Show();
//    Circle c1(x, y);
//    cout << "[Circle #1]";  c1.Show();
//    Circle c2(x, y, r);
//    cout << "[Circle #2]";  c2.Show();
//    Circle c3(p0, r);
//    cout << "[Circle #3]";  c3.Show();
//    Circle c4(p0);
//    cout << "[Circle #4]";  c4.Show();
//    Circle c5(r);
//    cout << "[Circle #5]";  c5.Show();
//    return 0;
//}

#include<iostream>
using namespace std;
int main()
{
	try { int a = 9;   double b = 9.8;  throw a < b ? a : b; }
	catch (int x) { cout << "int" << x << endl; }
	catch (double y) { cout << "double " << y << endl; }
	return 0;
}
